package com.hnguigu.health.houduan.lcj.mapper_lcj;

import com.hnguigu.health.houduan.lcj.pojo_lcj.TDiseaseLibrary_lcj;
import com.hnguigu.health.pojo.TDiseaseLibrary;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TDiseaseLibraryMapper_lcj {
    int deleteByPrimaryKey(Integer id);

    int insert(TDiseaseLibrary_lcj record);

    int insertSelective(TDiseaseLibrary_lcj record);

    TDiseaseLibrary selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TDiseaseLibrary_lcj record);

    int updateByPrimaryKey(TDiseaseLibrary_lcj record);

    List<TDiseaseLibrary_lcj> findAll(TDiseaseLibrary_lcj tDiseaseLibrary_lcj);

    @Select("select * from t_disease_library where name=#{code}")
    TDiseaseLibrary_lcj getBycode(String code);

    TDiseaseLibrary_lcj Lastbean();
}